package com.wsoft.hr.pm.dto;

import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Admin
 * @date 2025/3/19 10:37
 * @description:
 */
@Data
public class MemberTemplateDTO extends BaseEntity {

    @Schema(description = "考核活动id")
    private Long activityId;

    @Schema(description = "人员id")
    private Long memberId;

    @Schema(description = "人员姓名")
    private String memberName;

    @Schema(description = "人员编码")
    private String memberCode;

    @Schema(description = "绩效组织id")
    private Long hrOrgId;

    @Schema(description = "组织名称（一级部门起）")
    private String hrOrgFullName;

    @Schema(description = "岗位")
    private Long postId;

    @Schema(description = "岗位名称")
    private String postName;

    @Schema(description = "职务级别")
    private Long levelId;

    @Schema(description = "职务级别名称")
    private String levelName;

    @Schema(description = "考核模版")
    private Long templateId;

    @Schema(description = "考核模版名称")
    private String templateName;

    @Schema(description = "得分")
    private BigDecimal score;

    @Schema(description = "等级")
    private String grade;

    @Schema(description = "指标评审工作流状态")
    private Integer targetStatus;

    @Schema(description = "指标评审工作流编码")
    private String targetBusinessCode;

    @Schema(description = "评分工作流状态")
    private Integer scoreStatus;

    @Schema(description = "评分工作流编码")
    private String scoreBusinessCode;

    @Schema(description = "业务状态")
    private String state;

    @Schema(description = "考核活动名称")
    private String activityName;

    @Schema(description = "考核周期")
    private Long cycleId;
}
